package cn.iocoder.yudao.module.fengdong.smartelderly.convert.accessrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.accessrecord.vo.*;
import cn.iocoder.yudao.module.fengdong.smartelderly.dal.dataobject.accessrecord.AccessRecordDO;

/**
 * 门禁记录 Convert
 *
 * @author 沣东养老院管理员
 */
@Mapper
public interface AccessRecordConvert {

    AccessRecordConvert INSTANCE = Mappers.getMapper(AccessRecordConvert.class);

    AccessRecordDO convert(AccessRecordCreateReqVO bean);

    AccessRecordDO convert(AccessRecordUpdateReqVO bean);

    AccessRecordRespVO convert(AccessRecordDO bean);

    List<AccessRecordRespVO> convertList(List<AccessRecordDO> list);

    PageResult<AccessRecordRespVO> convertPage(PageResult<AccessRecordDO> page);

    List<AccessRecordExcelVO> convertList02(List<AccessRecordDO> list);

}
